package org.orz.story.pms.api;

import org.orz.cloud.common.result.ResultDTO;
import org.orz.story.pms.api.model.dto.CreatePmsAccountReq;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "pms", contextId = "PmsAccountClient", url="${feign-client-ip.pms:}")
public interface PmsAccountClient {

    @PostMapping("/api/pms/pmsAccount/createPmsAccount")
    ResultDTO<Boolean> createPmsAccount(@RequestBody CreatePmsAccountReq req);
}
